package com.starsoft.frame.core.service;

import javax.annotation.Resource;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.starsoft.frame.core.orm.HibernateDao;

public abstract class BaseService {
		
	protected Logger logger = LoggerFactory.getLogger(this.getClass());
	
	@Resource(name="hibernateDao")
	protected HibernateDao hibernateDao;

	public HibernateDao getHibernateDao() {
		return hibernateDao;
	}

	public void setHibernateDao(HibernateDao hibernateDao) {
		this.hibernateDao = hibernateDao;
	}
	
}
